<?php

namespace Database\Factories;


use App\Models\ShippingTemplates;
use Illuminate\Database\Eloquent\Factories\Factory;

class ShippingTemplatesFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = ShippingTemplates::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'name' => $this->faker->name,
            'appoint' => $this->faker->randomElement([0, 1]),
            'sort' => $this->faker->numberBetween(1, 20),
            'type' => $this->faker->randomElement([
                'type_one',
                'type_two',
                'type_three',
            ]),
        ];
    }
}
